﻿<?
use Phalcon\Mvc\Model;

class Node extends Model
{
    public $pers_id;
    public $name;
    public $sex;
    public $birth_date;
    public $birthdesc;
    public $desc;
    public $father;
    public $mother;
    public $end_date;
    public $diedesc;
    public $zibei_no;
    public $zibei;
    public $gen_no;
    public $mtime;
    public $user_code;  //用户码
    public $user_name;  //用户码
    public $ser_no;     //同一级序号-大小
    public function initialize()
    {
        $this->setSource("gen_node");
		$this->mtime = date('Y-m-d H:i:s');
        //$this->ser_no = 1;
    }
}